package com.zpf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @ClassName: ConfigServerApplication
 * @Description: 微服务配置管理启动类
 *
 *  * 配置服务的路劲规则：
 *  *
 *  * /{application}/{profile}[/{label}]
 *  * /{application}-{profile}.yml
 *  * /{label}/{application}-{profile}.yml
 *  * /{application}-{profile}.properties
 *  * /{label}/{application}-{profile}.properties
 *
 * @Autor: ZPF
 * @Date: 2021/1/25 10:31
 **/
@SpringBootApplication
@EnableConfigServer
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
        System.out.println("【 ConfigServer微服务 】已启动.");
    }
}
